package cn.tmpan.provider.dubbo.service.impl;

import cn.tmpan.dubbo.pojo.UserPojo;
import cn.tmpan.dubbo.service.IUserService;
import org.apache.dubbo.config.annotation.DubboService;

@DubboService(version = "1.0")
public class UserServiceImpl implements IUserService {

    @Override
    public UserPojo getUserInfoById() {

        UserPojo userPojo = new UserPojo();
        userPojo.setAge(46);
        userPojo.setName("tmpan");
        return userPojo;
    }
}
